feat(Gumble): Goey Body upgrade revamp - allow leaping over units#2921
Open
sungdark wants to merge 4 commits intoFreezingMoon:masterfrom
Open
feat(Gumble): Goey Body upgrade revamp - allow leaping over units#2921sungdark wants to merge 4 commits intoFreezingMoon:masterfrom
sungdark wants to merge 4 commits intoFreezingMoon:masterfrom
Conversation
- Added rematch button in scoreboardActions before Exit Match - Icon from game-icons.net (uncertainty by Lorc) - Confirmation dialog before rematching - Hotkey R to trigger rematch from score screen - Preserves same game settings when rematching - Added rematch() function in game.ts that saves/restores configData - Updated pressR hotkey to trigger rematch when scoreboard is visible
…es (fixes FreezingMoon#2534) - Add opacity parameter to previewCreature() function (default 0.5) - Update flickering to use Math.max(opacity * 0.3, 0.05) for low opacity - Modify Royal Seal ability query to show 10% opacity creature cardboard when hovering over target hex - Add fnOnCancel handler to clean up preview on cancel
…g upgrade When skipping a turn during an ability upgrade animation, only the 1500ms timeout was being cleared. The 300ms (sound) and 1200ms (remove upgradeIcon) timeouts would still fire after the turn changed, potentially leaving the button in an inconsistent state where the smooth transition animation was interrupted. This fix: - Stores all three upgrade animation timeout IDs - Clears ALL upgrade timeouts when skipTurn is triggered - Immediately removes upgradeTransition and upgradeIcon classes from all ability buttons when skip happens, ensuring clean state for the next turn Fixes FreezingMoon#2016
Implements issue FreezingMoon#2850: Goey Body upgrade revamp [bounty: 30 XTR] Changes: - When upgraded: Goey Body passive grants 'flying' movement type, allowing Gumble to leap over units during the moving phase - When not upgraded: Keeps the existing death trap behavior The upgraded passive no longer creates a confusing trap on death that might or might not affect allies. Instead, it provides a simple 'leap over units' mechanic during movement. Build: passes
|
@penggaolai is attempting to deploy a commit to the FreezingMoon Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements issue #2850: Goey Body upgrade revamp [bounty: 30 XTR]
Changes:
Modified Gumble's Goey Body passive ability (
src/abilities/Gumble.ts):The upgraded passive no longer creates a confusing trap on death that might or might not affect allies. Instead, it provides a simple 'leap over units' mechanic during movement.
Implementation:
Added a
movementType()function to the ability that returns'flying'when upgraded. This follows the same pattern used by Scavenger's Wing Feathers ability. Flying movement allows the creature to move to hexes occupied by other creatures, effectively allowing Gumble to leap over units.Testing:
收款地址:eB51DWp1uECrLZRLsE2cnyZUzfRWvzUzaJzkatTpQV9